import { Component, Input, OnInit } from '@angular/core';
import { ActivatedRoute, UrlSegment } from '@angular/router';

export interface BreadcrumbData{
  title: string,
  router?: string
}

@Component({
  selector: 'app-my-breadcrumb',
  templateUrl: './my-breadcrumb.component.html',
  styleUrls: ['./my-breadcrumb.component.scss']
})
export class MyBreadcrumbComponent implements OnInit {

  constructor(
    private route: ActivatedRoute
  ) { }

  @Input() breadType = 0
  @Input() breadcrumbData: BreadcrumbData[] = []
  ngOnInit(): void {
  }

}
